if the visible of card field "Try It" is true then
global flag
put "1" into flag
get selection
if selection is empty then
pass idle
else
find selection in bkgnd field "Word"
end if
end if
pass idle
end idle
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=222 top=296 right=319 bottom=248
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev
----- HyperTalk script -----
on mouseUp
push card
go prev
end mouseUp
-- part 11 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=87 top=129 right=241 bottom=378
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Explain Word
----- HyperTalk script -----
on mouseUp
phrase
end mouseUp
-- part 10 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=87 top=129 right=238 bottom=401
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Explain Phrase
----- HyperTalk script -----
on mouseUp
hide card field "Explain Phrase"
show card field "Try It"
end mouseUp
-- part 12 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=27 top=134 right=248 bottom=316
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Try It
-- part contents for background part 6
----- text -----
accessory: DMac
-- part contents for background part 17
----- text -----
See desk accessories, peripheral device.
-- part contents for background part 21
----- text -----
es
-- part contents for card part 10
----- text -----
The phrase "desk accessories" was selected by the computer. When you click and drag to select a phrase, the Apple Glossary will be searched for a reoccurance of the selected phrase.
Double-click here to try it.
-- part contents for card part 11
----- text -----
The word "peripheral" was selected by the computer. When you click and drag to select a word, the Apple Glossary would be searched for a reoccurance of the selected word.
Double-click here for more help.
-- part contents for card part 12
----- text -----
Now you try it.
Select the phrase "desk accessories" by clicking and dragging across the two words. Ther is no need to select the comma, as punctuation marks are not needed.